package com.yswy.domain.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yswy.domain.entity.PackageManage;
import com.yswy.domain.entity.PackageVersion;
import com.yswy.domain.vo.dto.BaseFilter;
import com.yswy.domain.vo.gld.search.PackageManageSearch;
import com.yswy.domain.vo.gld.search.PackageVersionSearch;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.repository.query.Param;

import java.util.List;

@Mapper
public interface PackageManageMapper extends BaseMapper<PackageManage> {

    Page<PackageManage> pagePackageManage(@Param("req") PackageManageSearch req,
                                          @Param("userId") Long userId,
                                            Page<BaseFilter> page);


    List<PackageManage> listPackageManage(@Param("userId") Long userId,@Param("packageManageId") Long packageManageId);

}
